﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using Abp.Domain.Entities;
using AutoMapper;
using FwProject.Comm.ExcelUtil;

namespace FwProject.PrePaymentInfo.Dto
{
    [AutoMap(typeof(PaymentInfoModel))]
    [DisplayName(displayName: "缴款凭证")]
    public class PaymentInfoDto:Entity<Guid>
    {
        /// <summary>
        /// 缴款单号
        /// </summary>
        [Display(Name = "凭证单号")]
        [DisplayName(displayName: "凭证单号")]
        [ExcelDateMember]
        public string PaymentNumber { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        [Display(Name ="日期")]
        [DisplayName(displayName: "日期")]
        [ExcelDateMember]
        public DateTime CreationTime { get; set; }


        public long AgentPeoperUserId { get; set; }
        /// <summary>
        /// 经办人姓名
        /// </summary>
        [Display(Name ="经办人")]
        [DisplayName(displayName: "经办人")]
        [ExcelDateMember]
        public string AgentPeoper { get; set; }

        public long PaymentPersonUserId { get; set; }
        /// <summary>
        /// 缴款人
        /// </summary>
        [DisplayName(displayName: "缴款人")]
        [ExcelDateMember]
        public string PaymentPerson { get; set; }
        /// <summary>
        /// 缴款明细说明系统自动生成
        /// </summary>
        [Display(Name = "缴款明细说明")]
        [DisplayName(displayName: "缴款明细说明")]
        [ExcelDateMember]
        public string RemarksConten { get; set; }

        [DisplayName(displayName: "金额")]
        [ExcelDateMember]
        public decimal TotalPrice { get; set; }

        [IgnoreMap]
        public List<ReceiptInfoModelDto> ReceiptDetailsDto { get; set; }
    }



}
